package com.itheima.youdianda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.youdianda.common.R;
import com.itheima.youdianda.dto.MyArticleDto;
import com.itheima.youdianda.dto.MyArticleListDto;
import com.itheima.youdianda.pojo.YddArticle;
import com.itheima.youdianda.pojo.YddUserData;

import java.util.Map;

public interface UserService extends IService<YddUserData> {
    MyArticleDto myArticle(String limit, String page);

    MyArticleListDto userDataList(String type, String page, String limit);

    R addArticle(YddArticle yddArticle);

    R userDataHandle(Map<String, String> map);

    R delArticle(String id);
}
